package com.qianfeng.smartmetting.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("timeslot")
public class TimeSlot {
    @TableId(type = IdType.AUTO)
    private Integer timeId;
    private String timeQujian;
    private String startTime;
    private String endTime;
    private Integer timeLong;
    private Integer useYear;
    private Integer useMonth;
    private Integer useDay;

    @Override
    public String toString() {
        return "TimeSlot{" +
                "timeId=" + timeId +
                ", timeQujian='" + timeQujian + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", timeLong=" + timeLong +
                ", useYear=" + useYear +
                ", useMonth=" + useMonth +
                ", useDay=" + useDay +
                '}';
    }
}
